<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Aestate: aestate.dbs._mysql.ParseUtil Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Aestate
   &#160;<span id="projectnumber">1.0.5</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceaestate.html">aestate</a></li><li class="navelem"><a class="el" href="namespaceaestate_1_1dbs.html">dbs</a></li><li class="navelem"><a class="el" href="namespaceaestate_1_1dbs_1_1__mysql.html">_mysql</a></li><li class="navelem"><a class="el" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html">ParseUtil</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">aestate.dbs._mysql.ParseUtil Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for aestate.dbs._mysql.ParseUtil:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1dbs_1_1__mysql_1_1_parse_util__coll__graph.png" border="0" usemap="#aestate_8dbs_8__mysql_8_parse_util_coll__map" alt="Collaboration graph"/></div>
<map name="aestate_8dbs_8__mysql_8_parse_util_coll__map" id="aestate_8dbs_8__mysql_8_parse_util_coll__map">
<area shape="rect" title=" " alt="" coords="5,5,216,347"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1659491b4d75d4ce96540f02bc2bea73"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#a1659491b4d75d4ce96540f02bc2bea73">parse_main</a> (self, *args, to_str=False, symbol='%s', left='`', right='`', **kwargs)</td></tr>
<tr class="separator:a1659491b4d75d4ce96540f02bc2bea73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae85305a9679051b479d80303b7a9b103"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#ae85305a9679051b479d80303b7a9b103">parse_key</a> (self, *args, **kwargs)</td></tr>
<tr class="separator:ae85305a9679051b479d80303b7a9b103"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5615e77e77754c370e71054b3e45d4eb"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#a5615e77e77754c370e71054b3e45d4eb">parse_update</a> (self, pojo, key)</td></tr>
<tr class="separator:a5615e77e77754c370e71054b3e45d4eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49c91d241a0f90a594b767b79f4747ff"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#a49c91d241a0f90a594b767b79f4747ff">parse_remove</a> (self, pojo, key)</td></tr>
<tr class="separator:a49c91d241a0f90a594b767b79f4747ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3b4dd4b502ce4e358ad1ed77988383b"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#ac3b4dd4b502ce4e358ad1ed77988383b">parse_value</a> (self, *args, **kwargs)</td></tr>
<tr class="separator:ac3b4dd4b502ce4e358ad1ed77988383b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afaa381afb53a5a0b9f3e01cd286c299a"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#afaa381afb53a5a0b9f3e01cd286c299a">parse_insert</a> (self, keys, values, __table_name__, insert_str, values_str, symbol='%s', sql_format='%s %s(%s)%s(%s)')</td></tr>
<tr class="separator:afaa381afb53a5a0b9f3e01cd286c299a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0d8e6fa65b38eed4dd4b6ba93a56c9e"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#ae0d8e6fa65b38eed4dd4b6ba93a56c9e">parse_insert_pojo</a> (self, pojo, __table_name__, insert_str, values_str)</td></tr>
<tr class="separator:ae0d8e6fa65b38eed4dd4b6ba93a56c9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a734ed2fd0f46ed39ff94bf41237005eb"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#a734ed2fd0f46ed39ff94bf41237005eb">get_pojo_sql</a> (self, instance)</td></tr>
<tr class="separator:a734ed2fd0f46ed39ff94bf41237005eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ae8f0cf30f05102843b8e2d25c85e5c1d"><td class="memItemLeft" align="right" valign="top">Tuple[list, list]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#ae8f0cf30f05102843b8e2d25c85e5c1d">parse_pojo</a> (pojo)</td></tr>
<tr class="separator:ae8f0cf30f05102843b8e2d25c85e5c1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17ed4dfab84ad61174e1edb9969ea2ec"><td class="memItemLeft" align="right" valign="top">object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#a17ed4dfab84ad61174e1edb9969ea2ec">parse_obj</a> (dict data, object instance)</td></tr>
<tr class="separator:a17ed4dfab84ad61174e1edb9969ea2ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2923ad8dc9fc2e274bc29674f5e01ac"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#aa2923ad8dc9fc2e274bc29674f5e01ac">find_last_id</a> (**kwargs)</td></tr>
<tr class="separator:aa2923ad8dc9fc2e274bc29674f5e01ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb3b666e0b3ab89d946dc04597c9ce58"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#afb3b666e0b3ab89d946dc04597c9ce58">find_print_sql</a> (**kwargs)</td></tr>
<tr class="separator:afb3b666e0b3ab89d946dc04597c9ce58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf50b29089db27341b0bf4b9b8a95016"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#adf50b29089db27341b0bf4b9b8a95016">case_name</a> (text, rep_text='_', lower=True, upper=False)</td></tr>
<tr class="separator:adf50b29089db27341b0bf4b9b8a95016"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1f4802c6dc78179f0b2fbad4a72739f"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#ae1f4802c6dc78179f0b2fbad4a72739f">is_default</a> (__val)</td></tr>
<tr class="separator:ae1f4802c6dc78179f0b2fbad4a72739f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a040266609abb01fcbb3a47527283cf"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#a1a040266609abb01fcbb3a47527283cf">set_field</a> (obj, key, value)</td></tr>
<tr class="separator:a1a040266609abb01fcbb3a47527283cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f318bacc1a79c2a0ea5810a1e07df52"><td class="memItemLeft" align="right" valign="top">None&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#a3f318bacc1a79c2a0ea5810a1e07df52">set_field_compulsory</a> (obj, str key, dict data, object val)</td></tr>
<tr class="separator:a3f318bacc1a79c2a0ea5810a1e07df52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ca5fcae7f8132f935ff3eb27448e736"><td class="memItemLeft" align="right" valign="top">object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#a1ca5fcae7f8132f935ff3eb27448e736">fieldExist</a> (object obj, str field, el=None, raise_exception=False)</td></tr>
<tr class="separator:a1ca5fcae7f8132f935ff3eb27448e736"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace50f38bba3c639dd0fdbac7a91dd3f4"><td class="memItemLeft" align="right" valign="top">List[tuple]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#ace50f38bba3c639dd0fdbac7a91dd3f4">parse_pojo_many</a> (list pojo_many)</td></tr>
<tr class="separator:ace50f38bba3c639dd0fdbac7a91dd3f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75311cf6ab0ef368af204b8551eeee8e"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#a75311cf6ab0ef368af204b8551eeee8e">insert_to_obj</a> (obj, kwargs)</td></tr>
<tr class="separator:a75311cf6ab0ef368af204b8551eeee8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="dbs_2__mysql_2____init_____8py_source.html#l00015">15</a> of file <a class="el" href="dbs_2__mysql_2____init_____8py_source.html">__init__.py</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="adf50b29089db27341b0bf4b9b8a95016"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf50b29089db27341b0bf4b9b8a95016">&#9670;&nbsp;</a></span>case_name()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mysql.ParseUtil.case_name </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>rep_text</em> = <code>'_'</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>lower</em> = <code>True</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>upper</em> = <code>False</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<pre class="fragment">将驼峰文本改为使用指定符号分割的字符串表达形式并全部小写
:param text:需要替换的文本
:param rep_text:在大写文本后面追加的字符串
:param lower:是否需要全部小写
:param upper:是否需要全部大写
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mysql_2____init_____8py_source.html#l00249">249</a> of file <a class="el" href="dbs_2__mysql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="a1ca5fcae7f8132f935ff3eb27448e736"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ca5fcae7f8132f935ff3eb27448e736">&#9670;&nbsp;</a></span>fieldExist()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"> object aestate.dbs._mysql.ParseUtil.fieldExist </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">str&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>el</em> = <code>None</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>raise_exception</em> = <code>False</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<pre class="fragment">在对象中获取一个字段的值,如果这个字段不存在,则将值设置为`el`
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mysql_2____init_____8py_source.html#l00306">306</a> of file <a class="el" href="dbs_2__mysql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="aa2923ad8dc9fc2e274bc29674f5e01ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2923ad8dc9fc2e274bc29674f5e01ac">&#9670;&nbsp;</a></span>find_last_id()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mysql.ParseUtil.find_last_id </td>
          <td>(</td>
          <td class="paramtype">**&#160;</td>
          <td class="paramname"><em>kwargs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<pre class="fragment">作者:CACode 最后编辑于2021/4/12

遵循规则：

    内部&gt;配置文件

是否包含返回最后一行ID的配置

只存在于更新操做的方法内，如：

    insert,

    update,

    delete

 Attributes:

     conf_obj:配置类
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mysql_2____init_____8py_source.html#l00196">196</a> of file <a class="el" href="dbs_2__mysql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="afb3b666e0b3ab89d946dc04597c9ce58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb3b666e0b3ab89d946dc04597c9ce58">&#9670;&nbsp;</a></span>find_print_sql()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mysql.ParseUtil.find_print_sql </td>
          <td>(</td>
          <td class="paramtype">**&#160;</td>
          <td class="paramname"><em>kwargs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<pre class="fragment">遵循规则：
    内部&gt;配置文件

是否包含打印sql的配置

存在于所有数据库操做

Attributes:
     conf_obj:配置类
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mysql_2____init_____8py_source.html#l00227">227</a> of file <a class="el" href="dbs_2__mysql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="a734ed2fd0f46ed39ff94bf41237005eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a734ed2fd0f46ed39ff94bf41237005eb">&#9670;&nbsp;</a></span>get_pojo_sql()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mysql.ParseUtil.get_pojo_sql </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>instance</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">获取创建pojo对象的sql语句
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mysql_2____init_____8py_source.html#l00349">349</a> of file <a class="el" href="dbs_2__mysql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="a75311cf6ab0ef368af204b8551eeee8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a75311cf6ab0ef368af204b8551eeee8e">&#9670;&nbsp;</a></span>insert_to_obj()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mysql.ParseUtil.insert_to_obj </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>kwargs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="dbs_2__mysql_2____init_____8py_source.html#l00345">345</a> of file <a class="el" href="dbs_2__mysql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="ae1f4802c6dc78179f0b2fbad4a72739f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1f4802c6dc78179f0b2fbad4a72739f">&#9670;&nbsp;</a></span>is_default()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mysql.ParseUtil.is_default </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>__val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<pre class="fragment">是否等于默认值
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mysql_2____init_____8py_source.html#l00271">271</a> of file <a class="el" href="dbs_2__mysql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="afaa381afb53a5a0b9f3e01cd286c299a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afaa381afb53a5a0b9f3e01cd286c299a">&#9670;&nbsp;</a></span>parse_insert()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mysql.ParseUtil.parse_insert </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>keys</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>values</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>__table_name__</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>insert_str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>values_str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>symbol</em> = <code>'%s'</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>sql_format</em> = <code>'%s&#160;%s&#160;(%s)%s(%s)'</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">实现此方法可自定义sql生成模式

keys:包含了所有需要解析的字段名
values:包含了所有需要用到的字段的值
__table_name__:表名称
insert_str:insert的字符串
values_str:values字符串
symbol:格式化方式，以`%s`作为匿名符号
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mysql_2____init_____8py_source.html#l00106">106</a> of file <a class="el" href="dbs_2__mysql_2____init_____8py_source.html">__init__.py</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_afaa381afb53a5a0b9f3e01cd286c299a_cgraph.png" border="0" usemap="#classaestate_1_1dbs_1_1__mysql_1_1_parse_util_afaa381afb53a5a0b9f3e01cd286c299a_cgraph" alt=""/></div>
<map name="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_afaa381afb53a5a0b9f3e01cd286c299a_cgraph" id="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_afaa381afb53a5a0b9f3e01cd286c299a_cgraph">
<area shape="rect" title=" " alt="" coords="5,104,193,145"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a054d59cf6e7bb039a5010d7facf27640" title=" " alt="" coords="242,5,429,47"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#ae85305a9679051b479d80303b7a9b103" title=" " alt="" coords="241,136,429,177"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a840e90ed9dd9855b5c16e2297b7a0451" title=" " alt="" coords="242,71,429,112"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#ac3b4dd4b502ce4e358ad1ed77988383b" title=" " alt="" coords="241,201,429,243"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a98ed5116baccabd0a051b51be9ec576f" title=" " alt="" coords="478,88,665,129"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#a1659491b4d75d4ce96540f02bc2bea73" title=" " alt="" coords="477,185,665,227"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_afaa381afb53a5a0b9f3e01cd286c299a_icgraph.png" border="0" usemap="#classaestate_1_1dbs_1_1__mysql_1_1_parse_util_afaa381afb53a5a0b9f3e01cd286c299a_icgraph" alt=""/></div>
<map name="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_afaa381afb53a5a0b9f3e01cd286c299a_icgraph" id="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_afaa381afb53a5a0b9f3e01cd286c299a_icgraph">
<area shape="rect" title=" " alt="" coords="241,5,429,47"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#ae0d8e6fa65b38eed4dd4b6ba93a56c9e" title=" " alt="" coords="5,5,193,47"/>
</map>
</div>

</div>
</div>
<a id="ae0d8e6fa65b38eed4dd4b6ba93a56c9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0d8e6fa65b38eed4dd4b6ba93a56c9e">&#9670;&nbsp;</a></span>parse_insert_pojo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mysql.ParseUtil.parse_insert_pojo </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>pojo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>__table_name__</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>insert_str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>values_str</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">解析插入语句

INSERT INTO `__table_name__`(`title`,'selects') VALUE ('','')

:param pojo:POJO对象
:param __table_name__:表名
:param insert_str:insert的sql方言
:param values_str:values的sql方言
:return:
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mysql_2____init_____8py_source.html#l00138">138</a> of file <a class="el" href="dbs_2__mysql_2____init_____8py_source.html">__init__.py</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_ae0d8e6fa65b38eed4dd4b6ba93a56c9e_cgraph.png" border="0" usemap="#classaestate_1_1dbs_1_1__mysql_1_1_parse_util_ae0d8e6fa65b38eed4dd4b6ba93a56c9e_cgraph" alt=""/></div>
<map name="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_ae0d8e6fa65b38eed4dd4b6ba93a56c9e_cgraph" id="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_ae0d8e6fa65b38eed4dd4b6ba93a56c9e_cgraph">
<area shape="rect" title=" " alt="" coords="5,72,193,113"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#af3bbc407eaf0f1046a82909e9b2b8afb" title=" " alt="" coords="242,39,429,80"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#afaa381afb53a5a0b9f3e01cd286c299a" title=" " alt="" coords="241,104,429,145"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a054d59cf6e7bb039a5010d7facf27640" title=" " alt="" coords="478,5,665,47"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a840e90ed9dd9855b5c16e2297b7a0451" title=" " alt="" coords="478,71,665,112"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a98ed5116baccabd0a051b51be9ec576f" title=" " alt="" coords="714,104,901,145"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#ae85305a9679051b479d80303b7a9b103" title=" " alt="" coords="477,136,665,177"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#ac3b4dd4b502ce4e358ad1ed77988383b" title=" " alt="" coords="477,201,665,243"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#a1659491b4d75d4ce96540f02bc2bea73" title=" " alt="" coords="713,185,901,227"/>
</map>
</div>

</div>
</div>
<a id="ae85305a9679051b479d80303b7a9b103"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae85305a9679051b479d80303b7a9b103">&#9670;&nbsp;</a></span>parse_key()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mysql.ParseUtil.parse_key </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">*&#160;</td>
          <td class="paramname"><em>args</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">**&#160;</td>
          <td class="paramname"><em>kwargs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">如果 is_field=True `field` [field]


解析键格式,如:
    INSERT INTO `demo` (这里的就是键) VALUES ('','','','');
:param args:
:return:
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mysql_2____init_____8py_source.html#l00053">53</a> of file <a class="el" href="dbs_2__mysql_2____init_____8py_source.html">__init__.py</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_ae85305a9679051b479d80303b7a9b103_cgraph.png" border="0" usemap="#classaestate_1_1dbs_1_1__mysql_1_1_parse_util_ae85305a9679051b479d80303b7a9b103_cgraph" alt=""/></div>
<map name="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_ae85305a9679051b479d80303b7a9b103_cgraph" id="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_ae85305a9679051b479d80303b7a9b103_cgraph">
<area shape="rect" title=" " alt="" coords="5,39,193,80"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a98ed5116baccabd0a051b51be9ec576f" title=" " alt="" coords="242,5,429,47"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#a1659491b4d75d4ce96540f02bc2bea73" title=" " alt="" coords="241,71,429,112"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_ae85305a9679051b479d80303b7a9b103_icgraph.png" border="0" usemap="#classaestate_1_1dbs_1_1__mysql_1_1_parse_util_ae85305a9679051b479d80303b7a9b103_icgraph" alt=""/></div>
<map name="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_ae85305a9679051b479d80303b7a9b103_icgraph" id="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_ae85305a9679051b479d80303b7a9b103_icgraph">
<area shape="rect" title=" " alt="" coords="477,5,665,47"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#afaa381afb53a5a0b9f3e01cd286c299a" title=" " alt="" coords="241,5,429,47"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#ae0d8e6fa65b38eed4dd4b6ba93a56c9e" title=" " alt="" coords="5,5,193,47"/>
</map>
</div>

</div>
</div>
<a id="a1659491b4d75d4ce96540f02bc2bea73"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1659491b4d75d4ce96540f02bc2bea73">&#9670;&nbsp;</a></span>parse_main()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mysql.ParseUtil.parse_main </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">*&#160;</td>
          <td class="paramname"><em>args</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>to_str</em> = <code>False</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>symbol</em> = <code>'%s'</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>left</em> = <code>'`'</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>right</em> = <code>'`'</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">**&#160;</td>
          <td class="paramname"><em>kwargs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">    解析属性:
将属性格式设置为:['`a`,','`b`,','`c`']
    :param to_str:是否转成str格式
    :param args:参数
    :param symbol:分隔符语法
    :param left:分隔符语法
    :param right:分隔符语法
    :return:
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mysql_2____init_____8py_source.html#l00017">17</a> of file <a class="el" href="dbs_2__mysql_2____init_____8py_source.html">__init__.py</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_a1659491b4d75d4ce96540f02bc2bea73_icgraph.png" border="0" usemap="#classaestate_1_1dbs_1_1__mysql_1_1_parse_util_a1659491b4d75d4ce96540f02bc2bea73_icgraph" alt=""/></div>
<map name="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_a1659491b4d75d4ce96540f02bc2bea73_icgraph" id="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_a1659491b4d75d4ce96540f02bc2bea73_icgraph">
<area shape="rect" title=" " alt="" coords="713,39,901,80"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#ae85305a9679051b479d80303b7a9b103" title=" " alt="" coords="477,5,665,47"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#ac3b4dd4b502ce4e358ad1ed77988383b" title=" " alt="" coords="477,71,665,112"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#afaa381afb53a5a0b9f3e01cd286c299a" title=" " alt="" coords="241,39,429,80"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#ae0d8e6fa65b38eed4dd4b6ba93a56c9e" title=" " alt="" coords="5,39,193,80"/>
</map>
</div>

</div>
</div>
<a id="a17ed4dfab84ad61174e1edb9969ea2ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17ed4dfab84ad61174e1edb9969ea2ec">&#9670;&nbsp;</a></span>parse_obj()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"> object aestate.dbs._mysql.ParseUtil.parse_obj </td>
          <td>(</td>
          <td class="paramtype">dict&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>instance</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<pre class="fragment">将数据解析成对象
注意事项:
    数据来源必须是DbUtil下查询出来的
:param data:单行数据
:param instance:参与解析的对象
:return:POJO对象
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mysql_2____init_____8py_source.html#l00180">180</a> of file <a class="el" href="dbs_2__mysql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="ae8f0cf30f05102843b8e2d25c85e5c1d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8f0cf30f05102843b8e2d25c85e5c1d">&#9670;&nbsp;</a></span>parse_pojo()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"> Tuple[list, list] aestate.dbs._mysql.ParseUtil.parse_pojo </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>pojo</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="dbs_2__mysql_2____init_____8py_source.html#l00165">165</a> of file <a class="el" href="dbs_2__mysql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="ace50f38bba3c639dd0fdbac7a91dd3f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace50f38bba3c639dd0fdbac7a91dd3f4">&#9670;&nbsp;</a></span>parse_pojo_many()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"> List[tuple] aestate.dbs._mysql.ParseUtil.parse_pojo_many </td>
          <td>(</td>
          <td class="paramtype">list&#160;</td>
          <td class="paramname"><em>pojo_many</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="dbs_2__mysql_2____init_____8py_source.html#l00334">334</a> of file <a class="el" href="dbs_2__mysql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="a49c91d241a0f90a594b767b79f4747ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49c91d241a0f90a594b767b79f4747ff">&#9670;&nbsp;</a></span>parse_remove()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mysql.ParseUtil.parse_remove </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>pojo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>key</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="dbs_2__mysql_2____init_____8py_source.html#l00087">87</a> of file <a class="el" href="dbs_2__mysql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="a5615e77e77754c370e71054b3e45d4eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5615e77e77754c370e71054b3e45d4eb">&#9670;&nbsp;</a></span>parse_update()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mysql.ParseUtil.parse_update </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>pojo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>key</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="dbs_2__mysql_2____init_____8py_source.html#l00068">68</a> of file <a class="el" href="dbs_2__mysql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="ac3b4dd4b502ce4e358ad1ed77988383b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac3b4dd4b502ce4e358ad1ed77988383b">&#9670;&nbsp;</a></span>parse_value()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mysql.ParseUtil.parse_value </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">*&#160;</td>
          <td class="paramname"><em>args</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">**&#160;</td>
          <td class="paramname"><em>kwargs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">解析值格式,如:
    INSERT INTO `demo` (`index`, `title`, `selects`, `success`) VALUES (这里的就是值);
:param args:
:return:
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mysql_2____init_____8py_source.html#l00096">96</a> of file <a class="el" href="dbs_2__mysql_2____init_____8py_source.html">__init__.py</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_ac3b4dd4b502ce4e358ad1ed77988383b_cgraph.png" border="0" usemap="#classaestate_1_1dbs_1_1__mysql_1_1_parse_util_ac3b4dd4b502ce4e358ad1ed77988383b_cgraph" alt=""/></div>
<map name="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_ac3b4dd4b502ce4e358ad1ed77988383b_cgraph" id="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_ac3b4dd4b502ce4e358ad1ed77988383b_cgraph">
<area shape="rect" title=" " alt="" coords="5,39,193,80"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a98ed5116baccabd0a051b51be9ec576f" title=" " alt="" coords="242,5,429,47"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#a1659491b4d75d4ce96540f02bc2bea73" title=" " alt="" coords="241,71,429,112"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_ac3b4dd4b502ce4e358ad1ed77988383b_icgraph.png" border="0" usemap="#classaestate_1_1dbs_1_1__mysql_1_1_parse_util_ac3b4dd4b502ce4e358ad1ed77988383b_icgraph" alt=""/></div>
<map name="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_ac3b4dd4b502ce4e358ad1ed77988383b_icgraph" id="classaestate_1_1dbs_1_1__mysql_1_1_parse_util_ac3b4dd4b502ce4e358ad1ed77988383b_icgraph">
<area shape="rect" title=" " alt="" coords="477,5,665,47"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#afaa381afb53a5a0b9f3e01cd286c299a" title=" " alt="" coords="241,5,429,47"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#ae0d8e6fa65b38eed4dd4b6ba93a56c9e" title=" " alt="" coords="5,5,193,47"/>
</map>
</div>

</div>
</div>
<a id="a1a040266609abb01fcbb3a47527283cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a040266609abb01fcbb3a47527283cf">&#9670;&nbsp;</a></span>set_field()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mysql.ParseUtil.set_field </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<pre class="fragment">当对象没有这个字段时，为对象设置一个字段

为了方便提高拓展性可解耦，框架内部务必使用此

方法或者set_field_compulsory()为操作管理类提供对象</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mysql_2____init_____8py_source.html#l00283">283</a> of file <a class="el" href="dbs_2__mysql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="a3f318bacc1a79c2a0ea5810a1e07df52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f318bacc1a79c2a0ea5810a1e07df52">&#9670;&nbsp;</a></span>set_field_compulsory()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"> None aestate.dbs._mysql.ParseUtil.set_field_compulsory </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">str&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dict&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>val</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<pre class="fragment">如果键存在于data中，为obj插入该值，反之插入val
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mysql_2____init_____8py_source.html#l00296">296</a> of file <a class="el" href="dbs_2__mysql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>aestate/dbs/_mysql/<a class="el" href="dbs_2__mysql_2____init_____8py_source.html">__init__.py</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
